<!DOCTYPE html>
<html class="um landscape min-width-240px min-width-320px min-width-480px min-width-768px min-width-1024px">
    <head>
        <title></title>
        <meta charset="utf-8">
        <meta name="viewport" content="target-densitydpi=device-dpi, width=device-width, initial-scale=1, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
        <link rel="stylesheet" href="passenger/css/project/ui-color-v3.css">
        <link rel="stylesheet" href="passenger/css/project/ui-list-v3.css">
        <link rel="stylesheet" href="passenger/css/project/ui-input-v3.css">
        <link rel="stylesheet" href="passenger/css/project/ui-btn-v3.css">
        <link rel="stylesheet" href="passenger/css/project/ui-res-v3.css">
        <link rel="stylesheet" href="passenger/css/ui-color.css">
        <link rel="stylesheet" href="passenger/css/ui-res.css">
        <link rel="stylesheet" href="passenger/css/ui-input.css">
        <link rel="stylesheet" href="passenger/css/ui-base.css">
        <link rel="stylesheet" href="passenger/css/ui-box.css">
        <link rel="stylesheet" href="passenger/css/project/style.css">
        <script src="passenger/js/common.js"></script>
        <script src="js/zy_control.js"></script>
		<script src="js/zy_click.js"></script>
    </head>
    <body class="um-vp c-wh" ontouchstart style="height:auto;max-height:50px;">
        <div id="page_0" class="up ub ub-ver" tabindex="0">
            <div id="header" class="uh c-m1 t-wh ub ub-ac">
                <div id="top1" class="uh t-wh ub" style="background-color:#37395c">
                    <div class="umw4 ub ub-ac ub-pc" id="back" ontouchstart="zy_touch('btn-act')">
						<!--按钮开始-->
						<div class="btn uinn  bt-icon8 umh1 umw1 ub-img4"></div>
						<!--按钮结束-->
                    </div>
                    <h1 class="ut ub-f1 uinn ulev0 ut-s tx-c" tabindex="0">航班搜索</h1>
                    <div class="umw4 ub ub-ac ub-pc">
                    </div>
                </div>
                <div id="top2" class="uh c-bla0 t-wh umar-l uhide">
                    <div class="umw4 ub ub-ac ub-pc umar-l " onclick="changeTop(2)">
                        <!--按钮开始-->
                        <div class="btn  uc-a resback umh1-7 umw1-7 ub-img" id="backPage">
                        </div>
                        <div class="uinn ulev-1">
                        </div>
                        <!--按钮结束-->
                    </div>
                    <h1 class="ut ub-f1 uinn ulev0 ut-s tx-c" tabindex="0">机场列表</h1>
                    <div class="umw4 ub ub-ac ub-pc">
                    </div>
                </div>
            </div>
            <div id="content" class="ub-f1 tx-l t-bla">
            </div>
			 <!-- 页脚 -->
             <div id="footer" class="ub uinn ub-ac ub-pc c25 mb9 fs8"></div>
        </div>
    </body>
    <script>
        zy_init();
        window.uexOnload = function(type){
            if (!type) {
                setStorage('headerHeight', $$("header").offsetHeight);//保存选中的城市信息
                zy_con("content", "passengerSearch_byCity.html", 0, $$("header").offsetHeight);
            }
            window.onorientationchange = window.onresize = function(){
                zy_resize("content", 0, $$("header").offsetHeight);
            }
			  uexWindow.onKeyPressed = function(keyCode){
			                if(keyCode == 0)
						 uexWidget.finishWidget("");
			                        //要执行的代码
			        }
			        uexWindow.setReportKey(0,1);
        }
        var c = new zyClick("back", function(me){
             uexWidget.finishWidget("");
        }, "btn-act");
        
		
        /**
         * 顶部导航提示切换
         * @param {Object} type
         */
        function changeTop(type){
            if (type == 1) {
                $$("top1").className = 'uh bc16 t-wh uhide';
                $$("top2").className = 'uh bc16 t-wh ub';
            }
            else 
                if (type == 2) {
                    $$("top2").className = 'uh bc16 t-wh uhide';
                    $$("top1").className = 'uh bc16 t-wh ub';
                    uexWindow.evaluatePopoverScript("", "content", "$.flySearch().closeWin()");
                }
                else {
                    $$("top2").className = 'uh bc16 t-wh uhide';
                    $$("top1").className = 'uh bc16 t-wh ub';
                }
        }
    </script>
</html>
